package com.fearless.demo02.impl;

import com.fearless.demo02.PersonService;
import org.springframework.stereotype.Component;

@Component
public class PersonServiceImpl implements PersonService {
    public void run() {
        System.out.println("run方法执行");
    }

    public void swim() {

        System.out.println("swim方法执行");
    }
}
